package day02;

import jdk.nashorn.internal.ir.CallNode;

/**
 * @author wangzhisen
 * @Desc TODO
 * @date 2025/4/8
 */
/*A在B前面5km，A速度为1km/h，B速度为2km/h，求b多久能赶上a。*/
public class Test03 {
    public static void main(String[] args) {
        int a=1;
        int b=2;
        int v=b-a;
        int s=5;
        int t=s/v;
        System.out.println(t);
    }
}
